/*
header 1000
浮层 loading 900
其他对话框、弹出框 2000 开始
*/
export const header_zindex = 1000
export const service_loading_zindex = 9999
export const flat_loading_zindex = 900
export const getGlobalZIndex = (() => {
    let zIndex = 2000
    return () => zIndex++
})();

export const isObject = (value) => Object.prototype.toString.call(value) === '[object Object]'
export const isNull = (value) => value === null || value === 'null'
export const isUndefined = (value) => value === undefined || value === 'undefined'